﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Scheduling.Domain.Scheduling
{
    /// <summary>
    /// 班组表实体类
    /// </summary>

    public class Team
    {
        /// <summary>
        /// 班组ID
        /// </summary>
        [Key]
        [Column("TeamId")]
        public int TeamId { get; set; }

        /// <summary>
        /// 班组名称
        /// </summary>
        [Column("TeamName")]
        [StringLength(50)]
        public string TeamName { get; set; }

        /// <summary>
        /// 关联班组类型ID
        /// </summary>
        [Column("TeamTypeId")]
        public int TeamTypeId { get; set; }

        /// <summary>
        /// 班组组长
        /// </summary>
        [Column("TeamLeader")]
        [StringLength(50)]
        public string TeamLeader { get; set; }

        /// <summary>
        /// 班组状态
        /// </summary>
        [Column("TeamStatus")]
        public int TeamStatus { get; set; }
    }
}
